#!/usr/bin/env python
# -*- coding: utf-8 -*-

# 地址
SERVER_HOST = '0.0.0.0'
# 端口
SERVER_PORT = 9999
# 端口3 接收EVC300数据
SERVER_PORT3 = 5000
# 一次接收的最大字节数
BUFFER_SIZE = 4096
# 监控频率
TIMER_INTERVAL = 5
# Udp服务器监控频率
UDP_TIMER_INTERVAL = 180
# 数据库配置信息
# DB_HOST = '118.178.126.208'
DB_HOST = '127.0.0.1'
DB_PORT = 3306
DB_USER = 'natgas001'
# DB_USER = 'root'
DB_PASSWD = '5bNGRc9i@Z'
# DB_PASSWD = '1234'
DB_NAME = 'natgas'
DB_CHARSET = 'utf8'
# 连接最大使用次数
MAXUSAGE = 1000
